package com.googlecode.tapestry5validator.hibernate.adapters;

import java.lang.annotation.Annotation;

import org.hibernate.validator.Email;

public class EmailAdapter extends NoValueAdapter {

	@Override
	public Class<? extends Annotation> getAnnotationClass() {
		return Email.class;
	}

	@Override
	public String getJSMethod() {
		return "hvEmail";
	}

	@Override
	public String getValidatorType() {
		return "hv-email";
	}

	
	
}
